home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr32 / fp_208a.zip / COMMAND.DOC < prev    next >
Text File  |  1993-01-11  |  3KB  |  124 lines

  1. +                           Command line mode
  2.  
  3.                         The command-line options
  4.  
  5. F-PROT.EXE is usually run without any parameters and will then enter
  6. interactive mode.  It is also possible to run it in command-line mode,
  7. which was the only possibility with version 1.
  8.  
  9. The available command-line options are
  10.  
  11. /ALL
  12. Specifies that all files should be searched, not just normal "executable"
  13. files.
  14.  
  15. /ANALYSE
  16. Performs a heuristic analysis instead of a signature-based scan. This
  17. approach may cause false positives, and should be used with care.
  18.  
  19. /APPEND
  20. Used with /REPORT. Append the report to an existing file.
  21.  
  22. /AUTO
  23. May be specified with /DELETE or /DISINF so F-PROT will not request
  24. permission before deleting or disinfecting.  The default if only /DELETE
  25. or /DISINF are given is to ask if the file should be disinfected (or
  26. deleted).
  27.  
  28. /BOOT (default) /NOBOOT
  29. Scan/Don't scan for boot sector viruses
  30.  
  31. /COMMAND
  32. Force command-line mode.
  33.  
  34. /DELETE
  35. Delete all infected files, instead of just listing them.
  36.  
  37. /DISINF
  38. Disinfect whenever possible - deletes first-generation samples and files
  39. destroyed by overwriting viruses.  It will never delete a file which can
  40. be disinfected.
  41.  
  42. /EXT=
  43. Specify which filename extensions to scan by default, maxcimum of 10,
  44. separated by "."  Example: /EXT=COM.EXE.SYS.DLL.OV?
  45.  
  46. /FILE (default) /NOFILE
  47. Scan/Don't scan for file viruses
  48.  
  49. /HARD
  50. Scans the entire hard disk.
  51.  
  52. /HELP or /?
  53. Display a list of available options.
  54.  
  55. /INTER
  56. Force interactive mode.
  57.  
  58. /LIST
  59. Produce a report of all files checked, not just those which are infected.
  60.  
  61. /MULTI
  62. Scan multiple diskettes.
  63.  
  64. /NET
  65. Scans any network "drives" found.
  66.  
  67. /NOBREAK
  68. Disables ESC during scanning
  69.  
  70. /NOMEM
  71. Skip the memory scan.
  72.  
  73. /NOWRAP
  74. Do not wrap text in the report.
  75.  
  76. /NOSUB
  77. Do not scan subdirectories.
  78.  
  79. /OLD
  80. Do not display the "This version of the program is rather old" message.
  81.  
  82. /PACKED (default) /NOPACKED
  83. Search/Don't search inside packed files.
  84.  
  85. /PAGE
  86. Pause after each page.
  87.  
  88. /QUICK
  89. Faster search, but not as accurate.
  90.  
  91. /RENAME
  92. Rename infected files to *.VOM or *.VXE.
  93.  
  94. /REPORT=file
  95. Sends the output to a file, in addition to displaying it on the screen.
  96.  
  97. /SILENT
  98. Generates no screen output at all - useful if you want to run the program
  99. from a batch file, and only check the return code.
  100.  
  101. /TROJAN (default) /NOTROJAN
  102. Search/Don't search for some Trojans and joke programs as well as viruses.
  103.  
  104. /USER /NOUSER (default)
  105. Search/Don't search for user-defined virus patterns.  This option should
  106. only be used if absolutely neccessary, as it may result in a considerable
  107. speed decrease.
  108.  
  109.                           Return status
  110.  
  111. The program uses the following exit codes, which can be checked with the
  112. ERRORLEVEL command from a BAT file.
  113.  
  114.     0 - Normal exit nothing found
  115.     1 - Abnormal termination - unrecoverable error (usually a missing
  116.         system file)
  117.     2 - Selftest failed - program has been modified.
  118.     3 - A Boot/File virus infection found.
  119.     4 - Virus signatures found in memory.
  120.     5 - Program terminated with ^C.
  121.     6 - At least one virus was removed.  This code is only meaningful if
  122.         the program is used to scan just a single file.
  123.  
  124.